var login = document.getElementById('login');
var register = document.getElementById('register');
var form_login = document.getElementById('form_login');
var form_register = document.getElementById('form_register');
function LoginDisplayChange(){
    form_login.style.display = "block";
    form_register.style.display = "none";
    document.getElementsByClassName('method')[0].style.marginBottom="63px";

}
function RegisterDisplayChange(){
    form_login.style.display = "none";
    form_register.style.display = "block";
    document.getElementsByClassName('method')[0].style.marginBottom="40px";
    document.getElementsByTagName('hr')[0].style.marginLeft="60px";
}
function onMouseOverLogin(){
    document.getElementsByTagName('hr')[0].style.marginLeft="0";
}
function onMouseOverRegister(){
    document.getElementsByTagName('hr')[0].style.marginLeft="60px";
}